<template>
  <div>
    <router-view />
    <MusicPlay v-show="isPlay" />

  </div>
</template>

<script>
  import MusicPlay from "./components/MusicPlay";
  import {mapState} from "vuex";

  export default {
    components:{
      MusicPlay
    },
    computed:{
      ...mapState(['isPlay'])
    }
  }
</script>
